<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>康纳天花系统后台</title>
<link href="/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="/css/admins/base.css" rel="stylesheet" type="text/css">
<link href="/css/plugs/jDatepicker/jDatepicker-min.css"  rel="stylesheet"  /> 
<script src="/js/plugs/jquery.js"></script>
<script src="/js/admins/base.js"></script>
<script src="/js/plugs/jDatepicker/jDatepicker-min.js"></script>
<script src="/js/plugs/global.js"></script>
<script src="/js/plugs/ymlayer.min.js"></script>
<script src="/js/admins/tuoshuo_magage.js"></script>
<style type="text/css" >
    {#$pageCss#}
		.form-br {
	display: block; margin-top: 12px; margin-left: 10px;
}
</style>
</head>

<body>

<!-- nav start-->
{# include file="$tpl_root_path/admins/base/navbar.html" #}
<!-- nav end -->    
   
<div class="container-fluid">
    
      <div class="row">
      
    <!-- left  box start-->     
       {# include file="$tpl_root_path/admins/base/left_menu.html" #}
    <!-- left  box end-->        
 
  <!-- right  box start-->  
         
     <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main right-box">
          
          <div class="menu-navbar">{#$menu_navbar#}</div>
          <h3 class="page-header">图说管理</h3>

 
<div class="search-box">
 
              <form class="form-inline" id="admin_news_form" action="/admins/tuoshuo_magage.html" name="admin_news_form" enctype="multipart/form-data" method="GET">
                <div class="form-group">
                  <label>发布时间:&nbsp;</label>
                  <div class="input-right-gicos">
                    <span class="ico input-ico-calendar"></span>
                    <input class="form-control" readonly="readonly" id="start_datepicker"   placeholder="开始时间" value="{#$jts|date_format:'%Y-%m-%d'#}" type="text" name="jts" data-name="jts">
                 </div>
                </div>
                
                <div class="form-group">
                  <label>&nbsp;至&nbsp;</label>
                  <div class="input-right-gicos">
                    <span class="ico input-ico-calendar"></span>
                    <input class="form-control" readonly="readonly" id="end_datepicker"   placeholder="结束时间" value="{#$jte|date_format:'%Y-%m-%d'#}" type="text" name="jte" data-name="jte">
                 </div>
                </div>
                
    
                <div class="form-group">
                  <label>&nbsp;状态:&nbsp;</label>
                  <select class="form-select" id="state" name="state" data-name="state">
                    <option selected="" value="">请选择</option>
                   <option value="2" {#if $state==='pass'#}selected="selected"{#/if#}> 上架 </option>
                    <option value="1" {#if $state==='nopass'#}selected="selected"{#/if#}>下架</option>
                  </select>
                </div>
                
    
                
             <div class="form-br">
                 <div class="form-group" >
                  <label>&nbsp;描述:&nbsp;</label>
                  <input id="kw" name="kw"  class="form-control"    placeholder="请输入描述" value="{#if $kw#}{#$kw#}{#/if#}"    type="text" size="50" data-name="kw" >
                     &nbsp;
                     

                </div>
          
                <div class="submit-box">
                   <button  type="submit" class="btn btn-success" id="form-submit">查&nbsp;询</button>
                </div>
                
             </div>   
                
              </form>
          </div>

         <div class="tool-list-box">
             <a href="/admins/tuoshuo_magage-cmd-increase.html"   class="btn btn-warning">发布图说</a>
         </div>




          <div class="info-list-box">
          <table class="table table-hover">
              <thead>
                <tr>
                  <th width="250">图片</th>
                  <th width="250">描述</th>
                  <th width="150">发布日期</th>
                  <th width="100">状态</th>
                  <th width="150">操作</th>
                </tr>
              </thead>
              <tbody>
              {#if $classify_list#}
              {#foreach from=$classify_list item=i#}
                <tr>
                  <td>{#$i.TITLE#}</td>
                  <td>{#$i.SOURCE#}</td>
                  <td>{#$i.DATELINE|date_format:'%Y-%m-%d %H:%M:%S'#}</td>
                  <td>{#$i.STATENAME#}</td>

                    <td id="hot">
                     <a href="/admins/tuoshuo_magage-cmd-increase-id-{#$i.ID#}.html" target="_blank">编辑</a>
                </tr>

              {#/foreach#}
              {#else#}
              <tr>
                  <td colSpan="5"  align="center">
                      <span class="no-result">没有找到相关信息</span>
                  </td>
              </tr>
              {#/if#}
                
              </tbody>
            </table>
          </div>


         <div  id="pages">
             {#$pageform#}
         </div>



          
     </div>
 
  <!-- right  box end-->         
        
      </div>
</div>



</body>
</html>